package com.example.demo.mapper;

import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface FinanceMapper {
    public List<Map<String, Object>> getAllFinance(Map<String, Object> params);

    void insertFinance(Map<String, Object> params);

    void updateFinance(Map<String, Object> params);

    void deleteFinance(Map<String, Object> params);

    List<Map<String, Object>> getMonthFinance(Map<String, Object> params);

    List<Map<String, Object>> getMonthFinance1(Map<String, Object> params);

    List<Map<String, Object>> getExpense(Map<String, Object> params);

    void insertExpense(Map<String, Object> paramMap);

    void deleteExpense(Map<String, Object> paramMap);

    int getCont();

    int getExpenseCont();

    void insertProFin(Map<String, Object> params);
}
